//公共API

(function (e) {
    e.__proto__.request = function (conf) {
        return axios({
            method: conf.type,
            url: conf.url,
            params: conf.data,
            responseType: 'stream',
            timeout: 1200,
            headers: {
                token: Cookies.get('token'), platform: 'web'
            }
        });
    }
})(window || document)